package cn.wolfcode.cloud.redis;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: redis配置文件类
 * @Author: 伍家钰
 * @Date: 2020/9/7 15:31
 * @Version: 1.0
 */

@Setter
@Getter
@ConfigurationProperties(prefix = "redis")
public class RedisProperties {
    private String host;
    private int port;
    private int timeout;
    private String password;
    private int poolMaxTotal;
    private int poolMaxIdle;
    private int poolMaxWait;
}
